
# 判断列表中三个字的有几个
list = ["张三","隔壁老王","李四","王麦子","哈哈哈"]
num = 0 #存放名字为三个字的出现次数
for n in list:   # n是列表中的每个成员,list中有几个成员,就循环几次
    sum = 0
    for a in n:   # a是字符串n的每个字符,n中有几个字符,for就循环几次
        sum +=1
    # print(sum)
    if sum >2:
        num +=1
print(num)



